Skip to main content

Edition By ID

Edition By ID

Edition for an id number, if it exists.

Parameters:

  • editionID: The id of the edition

Returns: Golazos.EditionData - An Golazos Edition data struct.

import Golazos from 0xGOLAZOSADDRESS

pub fun main(editionID: UInt64): Golazos.EditionData? {
return Golazos.getEditionData(id: editionID)
}